package site.potatoblog.threadpool.manager;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import site.potatoblog.threadpool.manager.controller.SysController;
import site.potatoblog.threadpool.manager.controller.ThreadPoolManagerController;
import site.potatoblog.threadpool.manager.core.Alert;
import site.potatoblog.threadpool.manager.core.DynamicThreadPool;
import site.potatoblog.threadpool.manager.core.DynamicThreadPoolManager;
import site.potatoblog.threadpool.manager.service.ThreadPoolMangerService;


@ConditionalOnBean(DynamicThreadPool.class)
@Import({ThreadPoolMangerService.class, SysController.class, ThreadPoolManagerController.class,DynamicThreadPoolManager.class, Alert.class})
@Configuration
public class ThreadPoolManagerAutoConfiguration {

}

